#include "Block.h"
Block::Block(int x, int y, int z, int type){
		this->x=x;
		this->y=y;
		this->z=z;
		this->baseX = x;
		this->baseY = y;
		this->baseZ = z;
		this->dx=x;
		this->dy=y;
		this->dz=z;
		this->dbaseX = x;
		this->dbaseY = y;
		this->dbaseZ = z;
		this->type = type;
}
Block::Block(double x, double y, double z, int type){
		this->dx=x;
		this->dy=y;
		this->dz=z;
		this->dbaseX = x;
		this->dbaseY = y;
		this->dbaseZ = z;
		this->x=0;
		this->y=0;
		this->z=0;
		this->baseX = 0;
		this->baseY = 0;
		this->baseZ = 0;
		this->type = type;
}
bool Block::moveDown(){

	return false;
}
bool Block::moveUp(){

	return false;
}
bool Block::moveLeft(){
	return false;
}
bool Block::moveRight(){
	return false;
}
queue<Vec3>* Block::getOperationsMove(){
	return &queueMove;
}
void Block::pushMovement(Vec3 vec){

	queueMove.push(vec);
}
void Block::resetPosition(){

}

int Block::getBaseX(){
	return baseX;
}
int Block::getBaseY(){
	return baseY;
}
void Block::setPosition(int x, int y){
	this->x = x;
	this->y = y;
	this->dx = x;
	this->dy = y;
}

int Block::getX(){
	return x;
}

int Block::getY(){
	return y;
}

int Block::getType(){
	return type;
}